Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Couple of rocksdb optimizations #1614

Merged
merged 4 commits into from
Jul 14, 2016
Merged

Couple of rocksdb optimizations #1614

merged 4 commits into from
Jul 14, 2016

Conversation

NikVolf
Copy link
Contributor

@NikVolf NikVolf commented Jul 13, 2016

No description provided.

@NikVolf NikVolf added the A0-pleasereview 🤓 Pull request needs code review. label Jul 13, 2016
@@ -169,36 +170,28 @@ impl Database {

opts.set_max_background_flushes(DB_BACKGROUND_FLUSHES);
opts.set_max_background_compactions(DB_BACKGROUND_COMPACTIONS);
if let Some(cache_size) = config.cache_size {
// half goes to read cache
opts.set_block_cache_size_mb(cache_size as u64 / 2);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this causes inadequate ram consumption

@tomusdrw tomusdrw closed this Jul 14, 2016
@tomusdrw tomusdrw reopened this Jul 14, 2016
@coveralls
Copy link

coveralls commented Jul 14, 2016

Coverage Status

Changes Unknown when pulling 9fd95e6 on cache-pref into * on master*.

@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jul 14, 2016
@NikVolf NikVolf merged commit 06e8ae1 into master Jul 14, 2016
@NikVolf NikVolf deleted the cache-pref branch July 18, 2016 15:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants